// 

export const getFreeAuth = async (params) => {
    return await new Promise((resolve, reject) => {
        axios.get('/index/freeAuth/getFreeAuth', {params: params}).then(res => {
            resolve(res.data.data);
        }).catch(err => {
            reject(err);
        });
    });
}

export const saveFreeAuth = async (params) => {
    return await new Promise((resolve, reject) => {
        axios.post('/index/freeAuth/saveFreeAuth', params).then(res => {
            resolve(res);
        }).catch(err => {
            reject(err);
        })
    })
}
